﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace BEGDC.PreContract.BLL
{
    public partial interface ISalesFeedback
    {
        //Get by id
        BEGDC.PreContract.DAL.SalesFeedback GetSalesFeedback(System.Int32 salesFeedbackID);

        //Get by filter
        DataTable GetSalesFeedback_DataTable(string filter);

        //Delete
        void DeleteSalesFeedback(System.Int32 salesFeedbackID);

        //Add
        int AddSalesFeedback(
            BEGDC.PreContract.DAL.PreContractInfo precontractID,
            BEGDC.PreContract.DAL.DicItem signType,
            BEGDC.PreContract.DAL.DicItem treatmentWay,
            Nullables.NullableDateTime operationDate,
            BEGDC.PreContract.DAL.DicItem invoiceStatus,
            BEGDC.PreContract.DAL.DicItem cancelProcess,
            BEGDC.PreContract.DAL.DicItem problemLV1,
            BEGDC.PreContract.DAL.DicItem problemLV2,
            System.String comments,
            BEGDC.PreContract.DAL.DicItem dashboardIssueType,
            System.String peopleInCharge,
            BEGDC.PreContract.DAL.Employee creator);

        //Update
        bool UpdateSalesFeedback();
    }
}
